﻿namespace IceCS.DesignPattern.Core.BuilderPattern.KFC
{
    public abstract class FoodItem
    {
        /// <summary>
        /// 名称
        /// </summary>
        /// <returns></returns>
        public virtual string Name => GetType().Name;
        /// <summary>
        /// 包装
        /// </summary>
        /// <returns></returns>
        public abstract Packing Packing { get; }
        /// <summary>
        /// 价格
        /// </summary>
        /// <returns></returns>
        public abstract decimal Price { get; }
    }
}
